import 'package:flutter/cupertino.dart';typedef TagCallback = void Function(String tag);class GCTagTextWidget extends StatelessWidget{  String tagText;  TagCallback? callback;  GCTagTextWidget({required this.tagText,this.callback}):super();  @override  Widget build(BuildContext context) {    // TODO: implement build    return GestureDetector(      child: Container(        height: 30,        margin: EdgeInsets.only(top: 12),        decoration: BoxDecoration(            color: Color(0xFFE4E4E4),            shape: BoxShape.rectangle,            borderRadius: BorderRadius.all(Radius.circular(15))        ),        padding: EdgeInsets.only(left: 15,right: 15,top: 5,bottom: 5),        child: Text(          tagText,          textAlign: TextAlign.center,          style: TextStyle(            fontSize: 14,            color: Color(0xFF333333),          ),        ),      ),      onTap: (){          this.callback!(this.tagText);      },    );  }}